import { get, post } from "@/utils/request";

// 自建房信息统计数
export const statisticsData = (data) =>
  post(`/api/hanfengStreetLargeScreen/statisticsData`, data);

// 自建房图表信息
export const statisticsLineChartData = (data) =>
  post(`/api/hanfengStreetLargeScreen/statisticsLineChartData`, data);

// 自建房表格信息
export const initSelfBuildHouseTable = (data) =>
  post(`/api/hanfengStreetLargeScreen/pageQuery`, data);

// 自建房建筑坐标
export const buildingCoordinateData = (data) =>
  get(`/api/hanfengStreetLargeScreen/buildingCoordinateData`, data);

// 自建房建筑点详情信息
export const buildingCoordinateDetail = (data) =>
  get(`/api/hanfengStreetLargeScreen/buildingCoordinateDetail`, data);

// 电力统计数据-统计和图表
export const powerStatisticsData = (data) =>
  post(`/api/hanfengStreetLargeScreen/powerStatisticsData`, data);

// 电力统计数据-表格
export const powerPageQuery = (data) =>
  post(`/api/hanfengStreetLargeScreen/powerPageQuery`, data);

// 用户统计
export const userStatisticsData = (data) =>
  post(`/api/hanfengStreetLargeScreen/powerData`, data);

// 用电量分析柱状图
export const powerUseData = (data) =>
  get(`/api/hanfengStreetLargeScreen/powerUseData`, data);

// 用电量
export const getUsageInRange = (data) =>
  post(`/api/hanfengStreetLargeScreen/getUsageInRange`, data);

// 用户类型统计数
export const aa = (data) =>
  post(`/api/hanfengStreetLargeScreen/getUsageInRange`, data)